package min.chapter.three;

import java.util.Map;

public class MapProcess {
	private Map<String, Filter> filters;
	public void setFilters(Map<String, Filter> filters){
		this.filters = filters;
	}
	public Map<String, Filter> getFilters(){
		return filters;
	}
}
	abstract class Filter{
		public abstract void print();
	}
	class JavaFilter extends Filter {
		@Override
		public void print(){
			System.out.println("Java Filter is Good");
		}
	}
	class JspFilter extends Filter{
		@Override
		public void print(){
			System.out.println("Jsp Filter is Good");
		}
	}

